copyWith method
Creates a copy with the given fields replaced.
Implementation
SpinnerModel copyWith({Spinner? spinner, int? frame, int? tag}) {
return SpinnerModel._internal(
spinner: spinner ?? _spinner,
frame: frame ?? _frame,
id: _id,
tag: tag ?? _tag,
);
}