toInsertJson method

Map<String, dynamic> toInsertJson()

Implementation

Map<String, dynamic> toInsertJson() {
  return {
    'name': name,
    'slug': slug,
    if (logoUrl != null) 'logo_url': logoUrl,
    'settings': settings,
  };
}