$TimeOfDay.fromJson constructor

$TimeOfDay.fromJson(
  1. Map json_
)

Implementation

$TimeOfDay.fromJson(core.Map json_)
    : this(
        hours: json_.containsKey('hours') ? json_['hours'] as core.int : null,
        minutes: json_.containsKey('minutes')
            ? json_['minutes'] as core.int
            : null,
        nanos: json_.containsKey('nanos') ? json_['nanos'] as core.int : null,
        seconds: json_.containsKey('seconds')
            ? json_['seconds'] as core.int
            : null,
      );