BaseListResponse<T> constructor
BaseListResponse<T> ({
- @JsonKey(name: 'data') required List<
T> ? data, - @JsonKey(name: 'success') bool? success,
- @JsonKey(name: 'message') String? message,
- @JsonKey(name: 'data_extension') DataExtensionModel? data_extension,
- @JsonKey(name: 'meta_data') PagingModel? meta_data,
Implementation
BaseListResponse(
{@JsonKey(name: 'data') required this.data,
@JsonKey(name: 'success') this.success,
@JsonKey(name: 'message') this.message,
@JsonKey(name: 'data_extension') this.data_extension,
@JsonKey(name: 'meta_data') this.meta_data});