decode static method
Implementation
static SharedAttachment decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return SharedAttachment(
path: Uri.decodeFull(pigeonMap['path']! as String),
type: SharedAttachmentType.values[pigeonMap['type']! as int],
);
}