IDetailsExpresspayResult.fromJson constructor

IDetailsExpresspayResult.fromJson(
  1. dynamic json
)

Implementation

IDetailsExpresspayResult.fromJson(dynamic json) : super.fromJson(json) {
  // `trans_date` Format: (2012-04-03 16:02:01) [yyyy-MM-dd HH:mm:ss]
  try{
    transactionDate = DateTime.parse(json['trans_date']);
  }catch(e){
    Log(e);
  }
  descriptor = json['descriptor'];
}