Files

22 lines
489 B
Dart

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);
}