copyWith method
Returns a shallow copy of this DatabaseMigrationVersionModel with some or all fields replaced by the given arguments.
Implementation
@_i1.useResult
DatabaseMigrationVersionModel copyWith({
String? module,
String? version,
Object? timestamp = _Undefined,
}) {
return DatabaseMigrationVersionModel(
module: module ?? this.module,
version: version ?? this.version,
timestamp: timestamp is DateTime? ? timestamp : this.timestamp,
);
}