fromJson static method

Map<String, TimeOfDay> fromJson(
  1. String json
)

Implementation

static Map<String, TimeOfDay> fromJson(String json) {
  Map<String, dynamic> jsonMap = json.decodeBeautifiedJsonMap;
  return jsonMap
      .map((key, value) => MapEntry(key, TimeOfDayExtension.fromJson(value)));
}