V2ApiTarget.fromJson constructor

V2ApiTarget.fromJson(
  1. Map json_
)

Implementation

V2ApiTarget.fromJson(core.Map json_)
    : this(
        methods: json_.containsKey('methods')
            ? (json_['methods'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        service: json_.containsKey('service')
            ? json_['service'] as core.String
            : null,
      );