VertexAIParameters.fromJson constructor

VertexAIParameters.fromJson(
  1. Map json_
)

Implementation

VertexAIParameters.fromJson(core.Map json_)
    : this(
        env: json_.containsKey('env')
            ? (json_['env'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
      );