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