toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  final superData = super.toJson();

  final data = <String, dynamic>{};
  data['token'] = token;
  superData.addAll(data);
  return superData;
}