toJson method

Map<String, dynamic> toJson()

Converts a WriteAccessAllowed object to JSON object

Implementation

Map<String, dynamic> toJson() {
  return {
    'web_app_name': webAppName,
    'from_request': fromRequest,
    'from_attachment_menu': fromAttachmentMenu,
  }..removeWhere(_nullFilter);
}