ReceiptMessage.fromJson constructor

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

Implementation

factory ReceiptMessage.fromJson(Map<String, dynamic> json) {
  return ReceiptMessage(
    content: json['content'] as String,
    reference: json['reference'] as String,
  );
}