toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
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;
}