CastSampleUpdateDto class

Update DTO for CastSample.

All fields are optional; only provided entries are used in SET clauses.

Constructors

CastSampleUpdateDto({int? id, String? name, bool? isActive, int? visits, double? ratio, DateTime? startedOn, DateTime? updatedAt, Decimal? amount, CastStatus? status, String? secret})
const

Properties

amount → Decimal?
final
hashCode int
The hash code for this object.
no setterinherited
id int?
final
isActive bool?
final
name String?
final
ratio double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String?
final
startedOn DateTime?
final
status CastStatus?
final
updatedAt DateTime?
final
visits int?
final

Methods

copyWith({Object? id = _copyWithSentinel, Object? name = _copyWithSentinel, Object? isActive = _copyWithSentinel, Object? visits = _copyWithSentinel, Object? ratio = _copyWithSentinel, Object? startedOn = _copyWithSentinel, Object? updatedAt = _copyWithSentinel, Object? amount = _copyWithSentinel, Object? status = _copyWithSentinel, Object? secret = _copyWithSentinel}) CastSampleUpdateDto
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Converts this DTO to a map suitable for database updates.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited