response method

  1. @override
Future<CountPreference> response(
  1. Map<String, dynamic> res
)
override

Implementation

@override
Future<CountPreference> response(res) async {
  return enumDecode<CountPreference>(
    countPreferenceEnumMap,
    res['count_preference'],
    unknownValue: CountPreference.all,
  );
}