toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'id': id,
    'url': url,
    'bugId': bugId ?? 'Default bugId',
    'createdAt': createdAt ?? 'Default createdAt'
  };
}