You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.1 KiB
Dart
66 lines
2.1 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'mugenapp.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
MugenAppStartAuthInfo _$MugenAppStartAuthInfoFromJson(
|
|
Map<String, dynamic> json) =>
|
|
MugenAppStartAuthInfo(
|
|
loginUrl: json['loginUrl'] as String,
|
|
loginRequestKey: json['loginRequestKey'] as String,
|
|
ttl: json['ttl'] as int? ?? 0,
|
|
);
|
|
|
|
Map<String, dynamic> _$MugenAppStartAuthInfoToJson(
|
|
MugenAppStartAuthInfo instance) =>
|
|
<String, dynamic>{
|
|
'loginUrl': instance.loginUrl,
|
|
'loginRequestKey': instance.loginRequestKey,
|
|
'ttl': instance.ttl,
|
|
};
|
|
|
|
MugenAppStartAuthResponse _$MugenAppStartAuthResponseFromJson(
|
|
Map<String, dynamic> json) =>
|
|
MugenAppStartAuthResponse(
|
|
startauth: MugenAppStartAuthInfo.fromJson(
|
|
json['startauth'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$MugenAppStartAuthResponseToJson(
|
|
MugenAppStartAuthResponse instance) =>
|
|
<String, dynamic>{
|
|
'startauth': instance.startauth,
|
|
};
|
|
|
|
MugenAppAttemptAuthInfo _$MugenAppAttemptAuthInfoFromJson(
|
|
Map<String, dynamic> json) =>
|
|
MugenAppAttemptAuthInfo(
|
|
status: json['status'] as String,
|
|
userid: json['userid'] as int?,
|
|
username: json['username'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> _$MugenAppAttemptAuthInfoToJson(
|
|
MugenAppAttemptAuthInfo instance) =>
|
|
<String, dynamic>{
|
|
'status': instance.status,
|
|
'userid': instance.userid,
|
|
'username': instance.username,
|
|
};
|
|
|
|
MugenAppAttemptAuthResponse _$MugenAppAttemptAuthResponseFromJson(
|
|
Map<String, dynamic> json) =>
|
|
MugenAppAttemptAuthResponse(
|
|
attemptauth: MugenAppAttemptAuthInfo.fromJson(
|
|
json['attemptauth'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$MugenAppAttemptAuthResponseToJson(
|
|
MugenAppAttemptAuthResponse instance) =>
|
|
<String, dynamic>{
|
|
'attemptauth': instance.attemptauth,
|
|
};
|