AIInference.fromJson constructor

AIInference.fromJson(
  1. Map json_
)

Implementation

AIInference.fromJson(core.Map json_)
  : this(
      endpoint: json_['endpoint'] as core.String?,
      serviceAccountEmail: json_['serviceAccountEmail'] as core.String?,
      unstructuredInference: json_.containsKey('unstructuredInference')
          ? UnstructuredInference.fromJson(
              json_['unstructuredInference']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );