ExecuteExtensionRequest.fromJson constructor
ExecuteExtensionRequest.fromJson(
- Object? j
Implementation
factory ExecuteExtensionRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ExecuteExtensionRequest(
name: switch (json['name']) {
null => '',
Object $1 => decodeString($1),
},
operationId: switch (json['operationId']) {
null => '',
Object $1 => decodeString($1),
},
operationParams: switch (json['operationParams']) {
null => null,
Object $1 => protobuf.Struct.fromJson($1),
},
runtimeAuthConfig: switch (json['runtimeAuthConfig']) {
null => null,
Object $1 => AuthConfig.fromJson($1),
},
);
}