SendDiscoveryClientHeartbeatRequest.fromJson constructor

SendDiscoveryClientHeartbeatRequest.fromJson(
  1. Map json_
)

Implementation

SendDiscoveryClientHeartbeatRequest.fromJson(core.Map json_)
    : this(
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => Status.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );