toJson method

  1. @override
Map<String, Object?> toJson()
override

Implementation

@override
Map<String, Object?> toJson() {
  final data = super.toJson();
  data['token'] = token;
  data['txn_id'] = txnId;
  return data;
}