MethodSettings.fromJson constructor

MethodSettings.fromJson(
  1. Map json_
)

Implementation

MethodSettings.fromJson(core.Map json_)
    : this(
        autoPopulatedFields: json_.containsKey('autoPopulatedFields')
            ? (json_['autoPopulatedFields'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        longRunning: json_.containsKey('longRunning')
            ? LongRunning.fromJson(
                json_['longRunning'] as core.Map<core.String, core.dynamic>)
            : null,
        selector: json_.containsKey('selector')
            ? json_['selector'] as core.String
            : null,
      );