FullSiteView constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const FullSiteView({
  1. SiteView? siteView,
  2. required List<PersonViewSafe> admins,
  3. required int online,
  4. required String version,
  5. MyUserInfo? myUser,
  6. FederatedInstances? federatedInstances,
  7. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory FullSiteView({
  SiteView? siteView,
  required List<PersonViewSafe> admins,
  required int online,
  required String version,
  MyUserInfo? myUser,
  FederatedInstances? federatedInstances,
  required String instanceHost,
}) = _FullSiteView;