Files
flutter/lib/features/account/models/account.g.dart
2026-07-01 18:28:10 +02:00

26 lines
657 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'account.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Account _$AccountFromJson(Map<String, dynamic> json) {
$checkKeys(
json,
requiredKeys: const [
'username',
'email',
'email_verified',
'is_trustworthy',
],
);
return Account(
username: json['username'] as String,
email: json['email'] as String,
emailVerified: json['email_verified'] as bool,
isTrustworthy: json['is_trustworthy'] as bool,
);
}