BaseListResponse<T> constructor

BaseListResponse<T>({
  1. @JsonKey(name: 'data') required List<T>? data,
  2. @JsonKey(name: 'success') bool? success,
  3. @JsonKey(name: 'message') String? message,
  4. @JsonKey(name: 'data_extension') DataExtensionModel? data_extension,
  5. @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});