mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-03 10:33:54 +01:00
26 lines
657 B
Dart
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,
|
|
);
|
|
}
|