UpdateFunctionRequest.fromJson constructor

UpdateFunctionRequest.fromJson(
  1. Object? j
)

Implementation

factory UpdateFunctionRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return UpdateFunctionRequest(
    function: switch (json['function']) {
      null => null,
      Object $1 => Function$.fromJson($1),
    },
    updateMask: switch (json['updateMask']) {
      null => null,
      Object $1 => FieldMask.fromJson($1),
    },
  );
}