You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aku_new_community/lib/model/user/blacklist_model.dart

25 lines
502 B

import 'package:json_annotation/json_annotation.dart';
import 'package:equatable/equatable.dart';
part 'blacklist_model.g.dart';
@JsonSerializable()
class BlacklistModel extends Equatable {
int id;
List imgList;
String name;
factory BlacklistModel.fromJson(Map<String, dynamic> json) =>
_$BlacklistModelFromJson(json);
BlacklistModel({
required this.id,
required this.imgList,
required this.name,
});
@override
List<Object?> get props => [id, imgList, name,];
}