MyUserInfo constructor
- @JsonSerializable(fieldRename: FieldRename.snake)
- required LocalUserSettingsView localUserView,
- required List<
CommunityFollowerView> follows, - required List<
CommunityModeratorView> moderates, - required List<
CommunityBlockView> communityBlocks, - required List<
PersonBlockView> personBlocks, - required String instanceHost,
Implementation
@JsonSerializable(fieldRename: FieldRename.snake)
const factory MyUserInfo({
required LocalUserSettingsView localUserView,
required List<CommunityFollowerView> follows,
required List<CommunityModeratorView> moderates,
required List<CommunityBlockView> communityBlocks,
required List<PersonBlockView> personBlocks,
required String instanceHost,
}) = _MyUserInfo;