SourceDto class

Inheritance
Annotations
  • @JsonSerializable(includeIfNull: true, explicitToJson: true)

Constructors

SourceDto.new({required String id, required DateTime createdAt, required DateTime updatedAt, required String createdBy})
SourceDto.create({required String id, required String userId})
factory
SourceDto.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt DateTime
final
createdBy String
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJsonString String
no setteroverride
updatedAt DateTime
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Constants

fromJsonFactory → const SourceDto Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(SourceDto instance)