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.

13 lines
408 B
Dart

import 'package:freezed_annotation/freezed_annotation.dart';
part 'csrf_token.freezed.dart';
part 'csrf_token.g.dart';
@Freezed(copyWith: false)
class CSRFTokenResponse with _$CSRFTokenResponse {
const factory CSRFTokenResponse({required Map<String, String> tokens}) = _CSRFTokenInfoResponse;
factory CSRFTokenResponse.fromJson(Map<String, dynamic> json) =>
_$CSRFTokenResponseFromJson(json);
}