ProxyTSignupV2Response.fromJson constructor
ProxyTSignupV2Response.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ProxyTSignupV2Response.fromJson(Map<String, dynamic> json) {
final _organizationId = json['organizationId'] as String;
final _wallet = json['wallet'] == null
? null
: v1WalletResult.fromJson(json['wallet'] as Map<String, dynamic>);
final _userId = json['userId'] as String;
final _appProofs = (json['appProofs'] as List?)
?.map((e) => v1AppProof.fromJson(e as Map<String, dynamic>))
.toList();
return ProxyTSignupV2Response(
organizationId: _organizationId,
wallet: _wallet,
userId: _userId,
appProofs: _appProofs,
);
}