CreateTokenResponse.fromJson constructor

CreateTokenResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateTokenResponse.fromJson(Map<String, dynamic> json) {
  return CreateTokenResponse(
    token: json['Token'] as String?,
    tokenId: json['TokenId'] as String?,
    tokenType: (json['TokenType'] as String?)?.toTokenType(),
  );
}