2021-11-19 13:10:00 +03:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'models.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
_$SuccessImpl _$$SuccessImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
_$SuccessImpl(
|
2021-11-19 13:10:00 +03:00
|
|
|
json['body'] as Map<String, dynamic>,
|
2024-07-09 16:14:29 +03:00
|
|
|
(json['flags'] as List<dynamic>).map((e) => e as String).toList(),
|
2021-11-19 13:10:00 +03:00
|
|
|
$type: json['kind'] as String?,
|
|
|
|
);
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
Map<String, dynamic> _$$SuccessImplToJson(_$SuccessImpl instance) =>
|
|
|
|
<String, dynamic>{
|
2021-11-19 13:10:00 +03:00
|
|
|
'body': instance.body,
|
2024-07-09 16:14:29 +03:00
|
|
|
'flags': instance.flags,
|
2021-11-19 13:10:00 +03:00
|
|
|
'kind': instance.$type,
|
|
|
|
};
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
_$SignalImpl _$$SignalImplFromJson(Map<String, dynamic> json) => _$SignalImpl(
|
2021-11-19 13:10:00 +03:00
|
|
|
json['status'] as String,
|
|
|
|
json['body'] as Map<String, dynamic>,
|
|
|
|
$type: json['kind'] as String?,
|
|
|
|
);
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
Map<String, dynamic> _$$SignalImplToJson(_$SignalImpl instance) =>
|
|
|
|
<String, dynamic>{
|
2021-11-19 13:10:00 +03:00
|
|
|
'status': instance.status,
|
|
|
|
'body': instance.body,
|
|
|
|
'kind': instance.$type,
|
|
|
|
};
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
_$RpcErrorImpl _$$RpcErrorImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
_$RpcErrorImpl(
|
2021-11-19 13:10:00 +03:00
|
|
|
json['status'] as String,
|
|
|
|
json['message'] as String,
|
|
|
|
json['body'] as Map<String, dynamic>,
|
|
|
|
$type: json['kind'] as String?,
|
|
|
|
);
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
Map<String, dynamic> _$$RpcErrorImplToJson(_$RpcErrorImpl instance) =>
|
2021-11-19 13:10:00 +03:00
|
|
|
<String, dynamic>{
|
|
|
|
'status': instance.status,
|
|
|
|
'message': instance.message,
|
|
|
|
'body': instance.body,
|
|
|
|
'kind': instance.$type,
|
|
|
|
};
|
2022-03-16 16:55:21 +03:00
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
_$RpcStateImpl _$$RpcStateImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
_$RpcStateImpl(
|
2022-03-16 16:55:21 +03:00
|
|
|
json['version'] as String,
|
|
|
|
json['is_admin'] as bool,
|
|
|
|
);
|
|
|
|
|
2023-11-15 10:56:52 +03:00
|
|
|
Map<String, dynamic> _$$RpcStateImplToJson(_$RpcStateImpl instance) =>
|
2022-03-16 16:55:21 +03:00
|
|
|
<String, dynamic>{
|
|
|
|
'version': instance.version,
|
|
|
|
'is_admin': instance.isAdmin,
|
|
|
|
};
|