copyWith method

  1. @override
InputFileId copyWith({
  1. int? id,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
InputFileId copyWith({
  int? id,
}) =>
    InputFileId(
      id: id ?? this.id,
    );