fromJson static method
Inherited by: InputInvoiceMessage InputInvoiceName InputInvoiceTelegram
Implementation
static InputInvoiceName? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputInvoiceName(name: (json['name'] as String?) ?? '');
}