toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final data = <String, dynamic>{};
  data['api_key'] = apiKey;
  data['api_secret'] = apiSecret;
  data['refresh_date'] = refreshDate;
  data['token'] = token;
  return data;
}