TimeTarget.fromJson constructor

TimeTarget.fromJson(
  1. Map json_
)

Implementation

TimeTarget.fromJson(core.Map json_)
    : this(
        eventTime: json_.containsKey('eventTime')
            ? json_['eventTime'] as core.String
            : null,
        publishTime: json_.containsKey('publishTime')
            ? json_['publishTime'] as core.String
            : null,
      );