Payload.fromJson constructor

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

Implementation

Payload.fromJson(Map<String, dynamic> json) {
  _data = json['data'];
  _amount = json['amount'];
}