ResultListDto<T> class

Annotations
  • @JsonSerializable(explicitToJson: true, genericArgumentFactories: true)

Constructors

ResultListDto(int code, List<T>? data, String? errorCode, String? message, int? record)
ResultListDto.fromJson(Map<String, dynamic> json, T fromJsonT(dynamic json))
factory

Properties

code int
final
data List<T>?
final
errorCode String?
final
hashCode int
The hash code for this object.
no setterinherited
message String?
final
record int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSuccess() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(Object? toJsonT(T value)) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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