ADAAssetsResponse.fromJson constructor

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

Implementation

factory ADAAssetsResponse.fromJson(Map<String, dynamic> json) {
  return ADAAssetsResponse(
    assetId: json['asset'],
    quantity: json['quantity'],
  );
}