fromJson
Also written: toJson
A named constructor pattern that builds an object from a decoded JSON map, such as MenuItem.fromJson. toJson does the reverse.
Also written: toJson
A named constructor pattern that builds an object from a decoded JSON map, such as MenuItem.fromJson. toJson does the reverse.