FieldDeclaration constructor
const
FieldDeclaration(
{ - required String typeName,
- required String? typeFullLibraryName,
- required String name,
- required bool isDeprecated,
- required bool isStatic,
- required bool isConst,
- required bool isExperimental,
- Set<String>? entryPoints,
- required String relativePath,
- required bool isReadable,
- required bool isWriteable,
})
Implementation
@Implements<Declaration>()
const factory FieldDeclaration({
/// type of this field
required String typeName,
/// full library name for the type
required String? typeFullLibraryName,
/// name of this field
required String name,
/// whether this field is deprecated
required bool isDeprecated,
/// whether this field is static
required bool isStatic,
/// whether this field is a constant
required bool isConst,
/// whether this field is experimental
required bool isExperimental,
/// entry points this field is reachable through
Set<String>? entryPoints,
/// the relative path of the library
required String relativePath,
/// whether this field is readable
required bool isReadable,
/// whether this field is writeable
required bool isWriteable,
}) = _FieldDeclaration;