manualFromJson method

  1. @override
dynamic manualFromJson(
  1. String key,
  2. dynamic value,
  3. ActionMapper actionMapper
)
override

value == [dockey]

Implementation

@override
dynamic manualFromJson(
  String key,
  dynamic value,
  ActionMapper actionMapper,
) {
  switch (key) {
    case MaterialDBKeys.materialButtonType:
      return EnumToString.fromString(MaterialButtonTypes.values, value);
    case MaterialDBKeys.floatingActionButtonType:
      return EnumToString.fromString(FloatingActionButtonTypes.values, value);
    default:
      return parent.manualFromJson(key, value, actionMapper);
  }
}