SchemasReader class

The _schemas variable is a LazySingleton that returns a SchemasReader object

The _schemas variable is a LazySingleton because it is a static final variable that is initialized with a function call. The function call is SchemasReader._internal() which is a private constructor. The SchemasReader._internal() constructor is private because it is prefixed with an underscore

Constructors

SchemasReader()

The _schemas variable is a LazySingleton that returns a SchemasReader object

factory

Properties

current → Cross
If the current index is less than the length of the list, return the current index, otherwise return the first index.
read-only
currentIndex ↔ int
It returns the current index of the page.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
index → int
int get index => _index; is a getter method that returns the value of the private _index variable. It allows other classes to access the value of _index without being able to modify it directly.
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
schemes → Schemes
read-only
size → int
int get size => _size; is a getter method that returns the value of the private _size variable. It allows other classes to access the value of _size without being able to modify it directly.
read-only

Methods

hasNext() → bool
If the index is greater than the size, return false, otherwise return true.
hasPrev() → bool
If the index is greater than the size, return false, otherwise return true.
next() → Cross
"If the index is less than the length of the list, increment the index and return the next item in the list."
normal() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prev() → Cross
reset() → void
reset() sets the value to the first entry.
testing() → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited