Payment.fromJson constructor

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

Implementation

factory Payment.fromJson(Map<String, dynamic> json) => Payment(
      type: json["type"],
      sum: json["sum"],
    );