WatchResponse.fromJson constructor

WatchResponse.fromJson(
  1. Map json_
)

Implementation

WatchResponse.fromJson(core.Map json_)
    : this(
        expiration: json_.containsKey('expiration')
            ? json_['expiration'] as core.String
            : null,
        historyId: json_.containsKey('historyId')
            ? json_['historyId'] as core.String
            : null,
      );