GetPersonDetails constructor
- @JsonSerializable.new(includeIfNull: false)
const
GetPersonDetails(
{ - @JsonKey.new(name: 'person_id') int? personId,
- String? username,
- String? auth,
- String? sort,
- int? page,
- int? limit,
- @JsonKey.new(name: 'saved_only') bool? savedOnly,
- @JsonKey.new(name: 'include_content') bool? includeContent,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory GetPersonDetails({
@JsonKey(name: 'person_id') int? personId,
String? username,
String? auth,
String? sort,
int? page,
int? limit,
@JsonKey(name: 'community_id') int? communityId,
@JsonKey(name: 'saved_only') bool? savedOnly,
@JsonKey(name: 'include_content') bool? includeContent,
}) = _GetPersonDetails;