FlagReason class
Constructors
- FlagReason({required String id, required String name, String? description, DateTime? createdAt, DateTime? updatedAt})
- Constructs a new FlagReason instance.
- FlagReason.fromMap(dynamic map)
-
Creates a new FlagReason instance from a map.
factory
Properties
- createdAt ↔ DateTime?
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pair
- name ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt ↔ DateTime?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Generates a map representing the FlagReason.
-
toMap(
) → Map< String, dynamic> - Generates a map representing the FlagReason.
-
toString(
) → String -
Returns a string representation of the FlagReason instance.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited