RuntimeConfig_CodeInterpreterRuntimeConfig.fromJson constructor

RuntimeConfig_CodeInterpreterRuntimeConfig.fromJson(
  1. Object? j
)

Implementation

factory RuntimeConfig_CodeInterpreterRuntimeConfig.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return RuntimeConfig_CodeInterpreterRuntimeConfig(
    fileInputGcsBucket: switch (json['fileInputGcsBucket']) {
      null => '',
      Object $1 => decodeString($1),
    },
    fileOutputGcsBucket: switch (json['fileOutputGcsBucket']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}