UpdateExecutionRequest.fromJson constructor

UpdateExecutionRequest.fromJson(
  1. Object? j
)

Implementation

factory UpdateExecutionRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return UpdateExecutionRequest(
    execution: switch (json['execution']) {
      null => null,
      Object $1 => Execution.fromJson($1),
    },
    updateMask: switch (json['updateMask']) {
      null => null,
      Object $1 => protobuf.FieldMask.fromJson($1),
    },
    allowMissing: switch (json['allowMissing']) {
      null => false,
      Object $1 => decodeBool($1),
    },
  );
}