EventRole class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

EventRole({int? id, DateTime? dbDateCreated, DateTime? dbDateUpdated, int? event, int? group, EventRoleRole? role, int? crew, bool? isPrimary, DateTime? dateAdded, DateTime? dateRemoved})
EventRole.fromJson(Map<String, dynamic> json)
factory

Properties

crew → int?
final
dateAdded → DateTime?
final
dateRemoved → DateTime?
final
dbDateCreated → DateTime?
final
dbDateUpdated → DateTime?
final
event → int?
final
group → int?
final
hashCode → int
The hash code for this object.
no setterinherited
id → int?
final
isPrimary → bool?
final
role → EventRoleRole?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? id, DateTime? dbDateCreated, DateTime? dbDateUpdated, int? event, int? group, EventRoleRole? role, int? crew, bool? isPrimary, DateTime? dateAdded, DateTime? dateRemoved}) → EventRole

Available on EventRole, provided by the $EventRoleExtension extension

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.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
override

Constants

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