ApigatewayApiConfigGrpcServiceDefinition.fromJson constructor

ApigatewayApiConfigGrpcServiceDefinition.fromJson(
  1. Map json_
)

Implementation

ApigatewayApiConfigGrpcServiceDefinition.fromJson(core.Map json_)
    : this(
        fileDescriptorSet: json_.containsKey('fileDescriptorSet')
            ? ApigatewayApiConfigFile.fromJson(json_['fileDescriptorSet']
                as core.Map<core.String, core.dynamic>)
            : null,
        source: json_.containsKey('source')
            ? (json_['source'] as core.List)
                .map((value) => ApigatewayApiConfigFile.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );