TrustTokenParams.fromJson constructor
Implementation
factory TrustTokenParams.fromJson(Map<String, dynamic> json) {
return TrustTokenParams(
operation: TrustTokenOperationType.fromJson(json['operation'] as String),
refreshPolicy: TrustTokenParamsRefreshPolicy.fromJson(
json['refreshPolicy'] as String),
issuers: json.containsKey('issuers')
? (json['issuers'] as List).map((e) => e as String).toList()
: null,
);
}