toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (accessTypes != null) 'accessTypes': accessTypes,
      if (canPersist != null) 'canPersist': canPersist,
      'dataId': dataId,
      'description': description,
    };