The README states that the fromJson factory takes a Uint8List as does the fromBytes factory. If that's the case, then what's the difference?
What I believe happened is a copy-paste error as when I try and read a nested Crimson class, Crimson tries to pass a Map<String, dynamic> to the fromJson method of the other class.
Please confirm, thanks!
EDIT: The README also appears to be missing toJson as well.
The README states that the
fromJsonfactory takes aUint8Listas does thefromBytesfactory. If that's the case, then what's the difference?What I believe happened is a copy-paste error as when I try and read a nested Crimson class, Crimson tries to pass a
Map<String, dynamic>to the fromJson method of the other class.Please confirm, thanks!
EDIT: The README also appears to be missing
toJsonas well.