near_pay_app/lib/presantation/ui/avatar/nonce_response.dart
2024-05-08 16:06:58 +03:00

14 lines
378 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'nonce_response.g.dart';
@JsonSerializable()
class NonceResponse {
@JsonKey(name:'nonce')
int nonce;
NonceResponse({required this.nonce}) : super();
factory NonceResponse.fromJson(Map<String, dynamic> json) => _$NonceResponseFromJson(json);
Map<String, dynamic> toJson() => _$NonceResponseToJson(this);
}