EdfaPgTransaction.fromJson constructor
EdfaPgTransaction.fromJson(
- dynamic json
Implementation
EdfaPgTransaction.fromJson(dynamic json) {
date = json['date'];
type = EdfaPgTransactionType.of(json['type'].toString());
status = EdfaPgTransactionStatus.of(json['status'].toString());
final am = json['amount'];
if(am is num)
amount = am.toDouble();
}