toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['method_id'] = methodId;
  data['method_title'] = methodTitle;
  data['total'] = total;
  return data;
}