decode static method
Implementation
static CacheMessage decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return CacheMessage(
dataSource: pigeonMap['dataSource'] as String?,
useCache: pigeonMap['useCache'] as bool?,
maxCacheSize: pigeonMap['maxCacheSize'] as int?,
maxFileSize: pigeonMap['maxFileSize'] as int?,
cachePath: pigeonMap['cachePath'] as String?,
);
}