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.
22 lines
470 B
22 lines
470 B
import 'package:equatable/equatable.dart';
|
|
|
|
class HelpCategory extends Equatable {
|
|
final int? id;
|
|
final String? cid;
|
|
final String? name;
|
|
final String? type;
|
|
|
|
HelpCategory({this.id, this.cid, this.name, this.type}) : super();
|
|
|
|
static HelpCategory fromJson(dynamic json) {
|
|
return HelpCategory(
|
|
id: json['id'],
|
|
cid: json['cid'],
|
|
name: json['name'],
|
|
type: json['type']);
|
|
}
|
|
|
|
@override
|
|
List<Object> get props => [cid!];
|
|
}
|