DailySubEntityType.fromJson constructor

DailySubEntityType.fromJson(
  1. Map json_
)

Implementation

DailySubEntityType.fromJson(core.Map json_)
    : this(
        dayOfWeek: json_.containsKey('dayOfWeek')
            ? json_['dayOfWeek'] as core.String
            : null,
        timeOfDay: json_.containsKey('timeOfDay')
            ? TimeOfDay.fromJson(
                json_['timeOfDay'] as core.Map<core.String, core.dynamic>)
            : null,
      );