dart:core
庫中Invocation.setter
的用法介紹如下。
用法:
Invocation.setter(
Symbol memberName,
Object? argument
)
創建對應於 setter 調用的調用。
此構造函數接受任何 Symbol 作為 memberName
,但請記住 actual setter names
以 =
結尾,因此對應於 object.member = value
的調用是
Invocation.setter(const Symbol("member="), value)
相關用法
- Dart Int32x4List.view用法及代碼示例
- Dart Int64List.sublist用法及代碼示例
- Dart Int8List.view用法及代碼示例
- Dart Int8List.sublist用法及代碼示例
- Dart Int16List.view用法及代碼示例
- Dart Int32List.sublist用法及代碼示例
- Dart Int16List.sublist用法及代碼示例
- Dart Int32x4List.sublist用法及代碼示例
- Dart Int64List.view用法及代碼示例
- Dart Int32List.view用法及代碼示例
- Dart Iterator用法及代碼示例
- Dart Iterable.takeWhile用法及代碼示例
- Dart ImmutableListMixin.replaceRange用法及代碼示例
- Dart IterableMixin.isNotEmpty用法及代碼示例
- Dart IterableMixin.firstWhere用法及代碼示例
- Dart IterableMixin.lastWhere用法及代碼示例
- Dart Iterable.skipWhile用法及代碼示例
- Dart IterableMixin.every用法及代碼示例
- Dart Iterable.toSet用法及代碼示例
- Dart ImmutableListMixin.insert用法及代碼示例
- Dart Iterable.singleWhere用法及代碼示例
- Dart Iterable.reduce用法及代碼示例
- Dart Iterable.elementAt用法及代碼示例
- Dart ImmutableListMixin.addAll用法及代碼示例
- Dart Iterable.where用法及代碼示例
注:本文由純淨天空篩選整理自dart.dev大神的英文原創作品 Invocation.setter constructor。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。