Field class
Represents a field or a dictionary of fields.
- Implemented types
- Mixed in types
- Available Extensions
Constructors
- Field()
- Creates a new instance of the Field class.
-
Field.fromHandle(Pointer<
id3BiosealField> handle) - Creates a new instance of the Field class.
Properties
- containsBiometrics → bool
-
A value indicating whether the field (or one of its child fields) contains biometric data.
no setter
- count → int
-
Gets the number of elements contained in the list or dictionary.
no setter
- extensionType → FieldExtensionType
-
The field extension type.
no setter
- fieldExtension → Extension?
-
The field extension.
no setter
- fieldType → FieldType
-
The field type.
no setter
- first → Field
-
The first element.
no setterinherited
-
handle
→ Pointer<
id3BiosealField> -
Gets the native handle.
return The native handle.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Whether this collection has no elements.
no setterinherited
- isNotEmpty → bool
-
Whether this collection has at least one element.
no setterinherited
- isNull → bool
-
A value indicating whether if the field is null.
no setter
-
iterator
→ Iterator<
Field> -
A new
Iteratorthat allows iterating the elements of thisIterable.no setteroverride - keys → StringArray
-
Gets a string list containing the keys in the dict.
no setter
- last → Field
-
The last element.
no setterinherited
- length → int
-
The number of elements in this.
no setterinherited
- name → String
-
The field name.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- single → Field
-
Checks that this iterable has only one element, and returns that element.
no setterinherited
- valueAsBinary → Uint8List
-
The data as a binary array.
no setter
- valueAsBoolean → bool
-
The field value as a boolean.
no setter
-
valueAsBooleanArray
→ List<
bool> -
The field value as an array of booleans.
no setter
- valueAsDate → DateTime?
-
The field value as a date.
no setter
- valueAsDateTime → DateTime?
-
The field value as a date/time.
no setter
- valueAsDateTimeArray → DateTimeArray
-
The field value as an array of dates.
no setter
- valueAsFloat → double
-
The field value as a float.
no setter
-
valueAsFloatArray
→ List<
double> -
The field value as an array of floats.
no setter
- valueAsInteger → int
-
The field value as a 64-bit integer.
no setter
-
valueAsIntegerArray
→ List<
int> -
The field value as an array of 64-bit integers.
no setter
- valueAsString → String
-
The field value as a string.
no setter
- valueAsStringArray → StringArray
-
The field value as an array of strings.
no setter
- valueAsTime → DateTime?
-
The field value as a time.
no setter
- valueAsTimestamp → int
-
The field value as a timestamp (without timezone computation).
no setter
-
valueAsTimestampArray
→ List<
int> -
The field value as an array of timestamp.
no setter
- visibilityCondition → VisibilityCondition
-
The visibility condition.
no setter
Methods
-
any(
bool test(Field element)) → bool -
Checks whether any element of this iterable satisfies
test.inherited -
cast<
R> () → Iterable< R> -
A view of this iterable as an iterable of
Rinstances.inherited -
contains(
Object? element) → bool -
Whether the collection contains an element equal to
element.inherited -
containsBiometricData(
BiometricDataType biometricDataType, String? biometricFormat) → bool - Returns a value indicating whether the field (or one of its child fields) contains biometric data of the specified type and/or format.
-
containsExtension(
FieldExtensionType extensionType) → bool - Returns a value indicating whether the field (or one of its child fields) contains an extension of the specified type.
-
containsExtensionByName(
String? extensionName) → bool - Returns a value indicating whether the field (or one of its child fields) contains an extension with specified name.
-
containsKey(
String? key) → bool - Determines whether the Fieldobject contains the specified key.
-
dispose(
) → void - Releases all resources used by this Field.
-
elementAt(
int index) → Field -
Returns the
indexth element.inherited -
every(
bool test(Field element)) → bool -
Checks whether every element of this iterable satisfies
test.inherited -
expand<
T> (Iterable< T> toElements(Field element)) → Iterable<T> -
Expands each element of this Iterable into zero or more elements.
inherited
-
firstWhere(
bool test(Field element), {Field orElse()?}) → Field -
The first element that satisfies the given predicate
test.inherited -
fold<
T> (T initialValue, T combine(T previousValue, Field element)) → T -
Reduces a collection to a single value by iteratively combining each
element of the collection with an existing value
inherited
-
followedBy(
Iterable< Field> other) → Iterable<Field> -
Creates the lazy concatenation of this iterable and
other.inherited -
forEach(
void action(Field element)) → void -
Invokes
actionon each element of this iterable in iteration order.inherited -
get(
String? key) → Field - Gets an item of the Field object.
-
getBinaryAtIndex(
int index) → Uint8List - Gets the binary data at the specified index.
-
getContainsBiometrics(
) → bool - Gets the A value indicating whether the field (or one of its child fields) contains biometric data.
-
getCount(
) → int - Gets the number of elements in the Field object.
-
getExtensionType(
) → FieldExtensionType - Gets the the field extension type.
-
getFieldExtension(
) → Extension? - Gets the the field extension.
-
getFieldType(
) → FieldType - Gets the the field type.
-
getIsNull(
) → bool - Gets the A value indicating whether if the field is null.
-
getKeys(
) → StringArray - Gets the gets a string list containing the keys in the dict.
-
getLocalizedLabel(
String? language) → String - Retrieves the localized label based on the provided language code.
-
getLocalizedValue(
String? language) → String - Retrieves the localized value based on the provided language code.
-
getName(
) → String - Gets the the field name.
-
getObjectAtIndex(
int index) → Field - Gets the object at the specified index.
-
getValueAsBinary(
) → Uint8List - Gets the the data as a binary array.
-
getValueAsBoolean(
) → bool - Gets the the field value as a boolean.
-
getValueAsBooleanArray(
) → List< bool> - Gets the the field value as an array of booleans.
-
getValueAsDate(
) → DateTime? - Gets the the field value as a date.
-
getValueAsDateTime(
) → DateTime? - Gets the the field value as a date/time.
-
getValueAsDateTimeArray(
) → DateTimeArray - Gets the the field value as an array of dates.
-
getValueAsFloat(
) → double - Gets the the field value as a float.
-
getValueAsFloatArray(
) → List< double> - Gets the the field value as an array of floats.
-
getValueAsInteger(
) → int - Gets the the field value as a 64-bit integer.
-
getValueAsIntegerArray(
) → List< int> - Gets the the field value as an array of 64-bit integers.
-
getValueAsString(
) → String - Gets the the field value as a string.
-
getValueAsStringArray(
) → StringArray - Gets the the field value as an array of strings.
-
getValueAsTime(
) → DateTime? - Gets the the field value as a time.
-
getValueAsTimestamp(
) → int - Gets the the field value as a timestamp (without timezone computation).
-
getValueAsTimestampArray(
) → List< int> - Gets the the field value as an array of timestamp.
-
getVisibilityCondition(
) → VisibilityCondition - Gets the the visibility condition.
-
join(
[String separator = ""]) → String -
Converts each element to a String and concatenates the strings.
inherited
-
lastWhere(
bool test(Field element), {Field orElse()?}) → Field -
The last element that satisfies the given predicate
test.inherited -
map<
T> (T toElement(Field e)) → Iterable< T> -
The current elements of this iterable modified by
toElement.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reduce(
Field combine(Field value, Field element)) → Field -
Reduces a collection to a single value by iteratively combining elements
of the collection using the provided function.
inherited
-
setTimeZoneOffset(
int offsetInSeconds) → void - Set the time zone offset in seconds.
-
singleWhere(
bool test(Field element), {Field orElse()?}) → Field -
The single element that satisfies
test.inherited -
skip(
int count) → Iterable< Field> -
Creates an Iterable that provides all but the first
countelements.inherited -
skipWhile(
bool test(Field value)) → Iterable< Field> -
Creates an
Iterablethat skips leading elements whiletestis satisfied.inherited -
take(
int count) → Iterable< Field> -
Creates a lazy iterable of the
countfirst elements of this iterable.inherited -
takeWhile(
bool test(Field value)) → Iterable< Field> -
Creates a lazy iterable of the leading elements satisfying
test.inherited -
toList(
{bool growable = true}) → List< Field> -
Creates a List containing the elements of this Iterable.
inherited
-
toSet(
) → Set< Field> -
Creates a Set containing the same elements as this iterable.
inherited
-
toString(
) → String -
Returns a string representation of (some of) the elements of
this.inherited -
where(
bool test(Field element)) → Iterable< Field> -
Creates a new lazy Iterable with all elements that satisfy the
predicate
test.inherited -
whereType<
T> () → Iterable< T> -
Creates a new lazy Iterable with all elements that have type
T.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String key) → dynamic - Gets or sets the element at the specified index.