unself_unpack library Null safety
Classes
- ArchiveExport
- ArchiveExport unpacks archive files and collect metadata.
-
Export<
T, O> - An interface for Export
-
Import<
T, O> - An interface for Input
- IUnpackService
- An interface for Unpack
- Normalize
-
Normalize is a class that can be used to normalize a json object
into a normalized form that can be used by
Unselfapp. - UnpackService
- UnpackService is a service that unpacks data from a file.
- ZipImport
- ZipImport unpacks archive files and collect metadata.
Properties
- facebookSchema → ArchiveSchema
-
final
Functions
-
flatten(
dynamic json, {String separator = '.', List< String> recordPath = const [], List<List< includePath = const [], bool addMissingKeys = true, int maxLevel = -1}) → List<String> >Map< String, dynamic> > - flatten is similar to pandas' json_normalize function, this function recursively flattens the nested JSON objects into a flat tabular list. It returns List<Map<String, dynamic>> of the flattened records.
-
includeAccumulator(
Map< String, dynamic> result, Set<String> includeKeys) → Accumulator -
listAccumulator<
T> (List< T> result, [Set<String> ? seenKeys]) → Accumulator -
mapAccumulator(
Map< String, dynamic> result) → Accumulator
Enums
Typedefs
- Accumulator = void Function(String key, dynamic value)