Api.fromJson constructor

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

Implementation

Api.fromJson(Map<String, dynamic> json) {
  apiKey = json['api_key'];
  apiSecret = json['api_secret'];
  refreshDate = json['refresh_date'];
  token = json['token'];
}