Приложение на флаторе, настройки
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'profile.freezed.dart';
|
||||
// part 'profile.g.dart';
|
||||
|
||||
@freezed
|
||||
class Profile with _$Profile {
|
||||
const factory Profile({
|
||||
required String id,
|
||||
required String userId,
|
||||
String? bio,
|
||||
String? avatarUrl,
|
||||
String? phoneNumber,
|
||||
String? email,
|
||||
DateTime? lastSeen,
|
||||
bool? isOnline,
|
||||
String? status,
|
||||
}) = _Profile;
|
||||
|
||||
// factory Profile.fromJson(Map<String, dynamic> json) => _$ProfileFromJson(json);
|
||||
}
|
||||
Reference in New Issue
Block a user