ComplaintsDetailsModel class
- Annotations
-
- @freezed
Constructors
- ComplaintsDetailsModel({required DateTime dateOfComplaint, required String administrativeArea, required String complaintRaisedFor, required String complainantName, required String complainantContactNumber, required String complaintDescription, String? supervisorName, String? supervisorContactNumber})
-
constfactory
-
ComplaintsDetailsModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- administrativeArea → String
-
no setterinherited
- complainantContactNumber → String
-
no setterinherited
- complainantName → String
-
no setterinherited
- complaintDescription → String
-
no setterinherited
- complaintRaisedFor → String
-
no setterinherited
-
copyWith
→ $ComplaintsDetailsModelCopyWith<
ComplaintsDetailsModel> -
no setterinherited
- dateOfComplaint → DateTime
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supervisorContactNumber → String?
-
no setterinherited
- supervisorName → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited