move on with the migration

This commit is contained in:
Salvatore Giordano
2021-04-19 12:40:00 +02:00
parent 8a92392914
commit af135ecb9c
37 changed files with 653 additions and 535 deletions
@@ -13,9 +13,9 @@ class Member {
this.inviteAcceptedAt,
this.inviteRejectedAt,
this.invited = false,
this.role = '',
this.role,
this.userId,
this.isModerator,
this.isModerator = false,
DateTime? createdAt,
DateTime? updatedAt,
this.banned = false,
@@ -45,14 +45,14 @@ class Member {
final bool invited;
/// The role of the user in the channel
@JsonKey(defaultValue: '')
final String role;
final String? role;
/// The id of the interested user
final String? userId;
/// True if the user is a moderator of the channel
final bool? isModerator;
@JsonKey(defaultValue: false)
final bool isModerator;
/// True if the member is banned from the channel
@JsonKey(defaultValue: false)