toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'products'] = this.products;
    json[r'token'] = this.token;
    json[r'user_details'] = this.userDetails;
  return json;
}