toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['id'] = id;
  data['image'] = image;
  data['object_type'] = objectType;
  data['request_field'] = requestField;
  data['object_id'] = objectId;
  data['status'] = status;
  data['user'] = user;
  return data;
}