static Version decode(Object message) { final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>; return Version( string: pigeonMap['string'] as String?, ); }