BmobRelation<T extends BmobTable, S extends BmobTable> class
Constructors
-
BmobRelation(T object, S subset, String key, JsonToTable<
S> jsonToTable, [List<S> list = const []])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jsonToTable
↔ JsonToTable<
S> -
json 转换 对象
getter/setter pair
- key ↔ String
-
关联的key
getter/setter pair
-
list
↔ List<
S> -
列表内容
getter/setter pair
- object ↔ T
-
主对象
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subset ↔ S
-
列表对象
getter/setter pair
Methods
-
add(
[List< S> list = const []]) → Future<bool> - 添加关联对象
-
clear(
) → Future< bool> - 清空关联对象
-
createJson(
[List< S> ? list]) → Map<String, dynamic> -
include(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
[List< S> list = const []]) → Future<bool> - 移除关联对象
-
toJson(
) → List< Map< String, dynamic> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited