Apys.fromJson constructor

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

Implementation

Apys.fromJson(Map<String, dynamic> json) {
  address = json['address'];
  apy = json['apy'];
}