PushMessageContentInvoice.fromJson constructor

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

Parse from a json

Implementation

factory PushMessageContentInvoice.fromJson(Map<String, dynamic> json) =>
    PushMessageContentInvoice(
      price: json['price'],
      isPinned: json['is_pinned'],
    );