DynamicCluster.fromJson constructor

DynamicCluster.fromJson(
  1. Map json_
)

Implementation

DynamicCluster.fromJson(core.Map json_)
    : this(
        cluster: json_.containsKey('cluster')
            ? json_['cluster'] as core.Map<core.String, core.dynamic>
            : null,
        lastUpdated: json_.containsKey('lastUpdated')
            ? json_['lastUpdated'] as core.String
            : null,
        versionInfo: json_.containsKey('versionInfo')
            ? json_['versionInfo'] as core.String
            : null,
      );