SeekSubscriptionRequest.fromJson constructor

SeekSubscriptionRequest.fromJson(
  1. Map json_
)

Implementation

SeekSubscriptionRequest.fromJson(core.Map json_)
    : this(
        namedTarget: json_.containsKey('namedTarget')
            ? json_['namedTarget'] as core.String
            : null,
        timeTarget: json_.containsKey('timeTarget')
            ? TimeTarget.fromJson(
                json_['timeTarget'] as core.Map<core.String, core.dynamic>)
            : null,
      );