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.
20 lines
420 B
20 lines
420 B
import 'package:equatable/equatable.dart';
|
|
|
|
class Group extends Equatable {
|
|
final String? gid;
|
|
final String? username;
|
|
final String? nickname;
|
|
|
|
Group({this.gid, this.username, this.nickname}) : super();
|
|
|
|
static Group fromJson(dynamic json) {
|
|
return Group(
|
|
gid: json['gid'],
|
|
username: json['username'],
|
|
nickname: json['nickname']);
|
|
}
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|