ClientLibrarySettings.fromJson constructor

ClientLibrarySettings.fromJson(
  1. Map json_
)

Implementation

ClientLibrarySettings.fromJson(core.Map json_)
    : this(
        cppSettings: json_.containsKey('cppSettings')
            ? CppSettings.fromJson(
                json_['cppSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        dotnetSettings: json_.containsKey('dotnetSettings')
            ? DotnetSettings.fromJson(json_['dotnetSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        goSettings: json_.containsKey('goSettings')
            ? GoSettings.fromJson(
                json_['goSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        javaSettings: json_.containsKey('javaSettings')
            ? JavaSettings.fromJson(
                json_['javaSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        launchStage: json_.containsKey('launchStage')
            ? json_['launchStage'] as core.String
            : null,
        nodeSettings: json_.containsKey('nodeSettings')
            ? NodeSettings.fromJson(
                json_['nodeSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        phpSettings: json_.containsKey('phpSettings')
            ? PhpSettings.fromJson(
                json_['phpSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        pythonSettings: json_.containsKey('pythonSettings')
            ? PythonSettings.fromJson(json_['pythonSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        restNumericEnums: json_.containsKey('restNumericEnums')
            ? json_['restNumericEnums'] as core.bool
            : null,
        rubySettings: json_.containsKey('rubySettings')
            ? RubySettings.fromJson(
                json_['rubySettings'] as core.Map<core.String, core.dynamic>)
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );