toArray method
- bool valuesAreJson = false,
Converts the entry list to an array of EntryObject.
The valuesAreJson
parameter indicates whether the values should be parsed as JSON.
Returns a list of EntryObject instances.
Implementation
List<EntryObject> toArray({bool valuesAreJson = false}) {
final list = <EntryObject>[];
forEachEntry(
(entry, _) => list.add(entry.toJson(shouldParseValueToJson: valuesAreJson)),
);
return list;
}