TimeEvent.fromJson constructor

TimeEvent.fromJson(
  1. Map json_
)

Implementation

TimeEvent.fromJson(core.Map json_)
    : this(
        annotation: json_.containsKey('annotation')
            ? Annotation.fromJson(
                json_['annotation'] as core.Map<core.String, core.dynamic>)
            : null,
        messageEvent: json_.containsKey('messageEvent')
            ? MessageEvent.fromJson(
                json_['messageEvent'] as core.Map<core.String, core.dynamic>)
            : null,
        time: json_.containsKey('time') ? json_['time'] as core.String : null,
      );