OriginTrialTokenWithStatus.fromJson constructor
Implementation
factory OriginTrialTokenWithStatus.fromJson(Map<String, dynamic> json) {
return OriginTrialTokenWithStatus(
rawTokenText: json['rawTokenText'] as String,
parsedToken: json.containsKey('parsedToken')
? OriginTrialToken.fromJson(
json['parsedToken'] as Map<String, dynamic>)
: null,
status: OriginTrialTokenStatus.fromJson(json['status'] as String),
);
}