✨ Account contact settings
This commit is contained in:
@ -85,6 +85,24 @@ sealed class SnAccountBadge with _$SnAccountBadge {
|
||||
_$SnAccountBadgeFromJson(json);
|
||||
}
|
||||
|
||||
@freezed
|
||||
sealed class SnContactMethod with _$SnContactMethod {
|
||||
const factory SnContactMethod({
|
||||
required String id,
|
||||
required int type,
|
||||
required DateTime? verifiedAt,
|
||||
required bool isPrimary,
|
||||
required String content,
|
||||
required String accountId,
|
||||
required DateTime createdAt,
|
||||
required DateTime updatedAt,
|
||||
required DateTime? deletedAt,
|
||||
}) = _SnContactMethod;
|
||||
|
||||
factory SnContactMethod.fromJson(Map<String, dynamic> json) =>
|
||||
_$SnContactMethodFromJson(json);
|
||||
}
|
||||
|
||||
@freezed
|
||||
sealed class SnNotification with _$SnNotification {
|
||||
const factory SnNotification({
|
||||
|
Reference in New Issue
Block a user