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 typeKey or idKey

Implementation

@override
Map<String, Tuple2<Getter<dynamic>, Setter<dynamic>>> getGetterSetterMap() =>
    {
      'pepper': Tuple2(() => pepper, (val) => pepper = '$val'),
      'methodSalt64':
          Tuple2(() => methodSalt64, (val) => methodSalt64 = '$val'),
      'methodIv64': Tuple2(() => methodIv64, (val) => methodIv64 = '$val'),
      'methodMinHashes': Tuple2(
        () => methodMinHashes,
        (val) => methodMinHashes = val as int,
      ),
      'methodMaxHashes': Tuple2(
        () => methodMaxHashes,
        (val) => methodMaxHashes = val as int,
      ),
    };