QuorumInfo.fromJson constructor

QuorumInfo.fromJson(
  1. Map json_
)

Implementation

QuorumInfo.fromJson(core.Map json_)
    : this(
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        initiator: json_.containsKey('initiator')
            ? json_['initiator'] as core.String
            : null,
        quorumType: json_.containsKey('quorumType')
            ? QuorumType.fromJson(
                json_['quorumType'] as core.Map<core.String, core.dynamic>)
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );