ApiOperation.fromJson constructor

ApiOperation.fromJson(
  1. Map json_
)

Implementation

ApiOperation.fromJson(core.Map json_)
    : this(
        methodSelectors: json_.containsKey('methodSelectors')
            ? (json_['methodSelectors'] as core.List)
                .map((value) => MethodSelector.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        serviceName: json_.containsKey('serviceName')
            ? json_['serviceName'] as core.String
            : null,
      );