getGetterSetterMap method

  1. @override
Map<String, Tuple2<Getter, Setter>> getGetterSetterMap()

Implemented by subclasses to map the getters and setters of the object.

Cannot have keys that have the values TYPE or ID

Implementation

@override
Map<String, Tuple2<Getter, Setter>> getGetterSetterMap() => {
      "profile": Tuple2(() => profile, (val) => profile = val),
      "collection": GenericModel.model(() => collectionModel,
          (value) => collectionModel = value!, BookmarkCollectionModel.new),
    };