UpdateInfo.fromJson constructor

UpdateInfo.fromJson(
  1. Map json_
)

Implementation

UpdateInfo.fromJson(core.Map json_)
    : this(
        targetReplicaCount: json_.containsKey('targetReplicaCount')
            ? json_['targetReplicaCount'] as core.int
            : null,
        targetShardCount: json_.containsKey('targetShardCount')
            ? json_['targetShardCount'] as core.int
            : null,
      );