Consumer.fromJson constructor

Consumer.fromJson(
  1. Map json_
)

Implementation

Consumer.fromJson(core.Map json_)
    : this(
        endpointLocation: json_.containsKey('endpointLocation')
            ? json_['endpointLocation'] as core.String
            : null,
        endpointUri: json_.containsKey('endpointUri')
            ? json_['endpointUri'] as core.String
            : null,
        subnetwork: json_.containsKey('subnetwork')
            ? json_['subnetwork'] as core.String
            : null,
      );