fromJson method

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

Implementation

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