USD.fromJson constructor

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

Implementation

factory USD.fromJson(Map<String, dynamic> json) {
  return USD(
    cents: json['Cents'] as int?,
    dollars: json['Dollars'] as int?,
    tenthFractionsOfACent: json['TenthFractionsOfACent'] as int?,
  );
}