SyncResponse.fromJson constructor

SyncResponse.fromJson(
  1. Map json_
)

Implementation

SyncResponse.fromJson(core.Map json_)
    : this(
        payload: json_.containsKey('payload')
            ? SyncResponsePayload.fromJson(
                json_['payload'] as core.Map<core.String, core.dynamic>)
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
      );