Api.fromJson constructor

Api.fromJson(
  1. Map json_
)

Implementation

Api.fromJson(core.Map json_)
    : this(
        operation: json_.containsKey('operation')
            ? json_['operation'] as core.String
            : null,
        protocol: json_.containsKey('protocol')
            ? json_['protocol'] as core.String
            : null,
        service: json_.containsKey('service')
            ? json_['service'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );