ExecuteExtensionRequest.fromJson constructor

ExecuteExtensionRequest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ExecuteExtensionRequest.fromJson(Map<String, dynamic> json) {
  return ExecuteExtensionRequest(
    name: json['name'] ?? '',
    operationId: json['operationId'] ?? '',
    operationParams: decodeCustom(
      json['operationParams'],
      protobuf.Struct.fromJson,
    ),
    runtimeAuthConfig: decode(json['runtimeAuthConfig'], AuthConfig.fromJson),
  );
}