toDictionary method

Map<String, dynamic> toDictionary()

Implementation

Map<String, dynamic> toDictionary() {
  return {'id': id, 'accepted': accepted};
}