MessageResponse class abstract
- Inheritance
-
- Object
- TCICBaseModel
- MessageResponse
- Annotations
-
- @freezed
Constructors
-
MessageResponse({@JsonKey.new(name: 'error_code') int? errorCode, @JsonKey.new(name: 'error_msg') String? errorMsg, @Default.new([]) List<
String> messages}) -
factory
-
MessageResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $MessageResponseCopyWith<
MessageResponse> -
Create a copy of MessageResponse
with the given fields replaced by the non-null parameter values.
no setterinherited
- errorCode → int?
-
no setterinherited
- errorMsg → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messages
→ List<
String> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this MessageResponse to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited