PaylikeCurrency.fromJSON constructor

PaylikeCurrency.fromJSON(
  1. Map<String, dynamic> json
)

Creates a PaylikeCurrency instance using JSON

Implementation

PaylikeCurrency.fromJSON(Map<String, dynamic> json)
    : code = json['code'],
      currency = json['currency'],
      numeric = int.parse(json['numeric']),
      exponent = json['exponent'],
      funding = json['funding'] != null,
      deprecated = json['deprecated'] != null;