WriteAccessAllowed.fromJson constructor

WriteAccessAllowed.fromJson(
  1. Map<String, dynamic> json
)

Creates a WriteAccessAllowed object from JSON object

Implementation

factory WriteAccessAllowed.fromJson(Map<String, dynamic> json) {
  return WriteAccessAllowed(
    webAppName: json['web_app_name'],
    fromRequest: json['from_request'],
    fromAttachmentMenu: json['from_attachment_menu'],
  );
}