toJson method
Creates Map
from Class Object
Implementation
MapEntry<String, dynamic> toJson() {
switch (kind) {
case 'Plain':
return MapEntry(kind, value);
case 'Map':
return MapEntry(kind, (this as StorageEntryTypeV14_Map).toMap());
default:
throw UnexpectedTypeException('Unexpected type: $kind');
}
}