toJSON method
Converts this object into a JSON formatted object.
Implementation
Map<String, dynamic> toJSON() {
return <String, dynamic>{
'label': label,
'extensions': extensions,
'mimeTypes': mimeTypes,
'uniformTypeIdentifiers': uniformTypeIdentifiers,
'webWildCards': webWildCards,
// This is kept for backwards compatibility with anything that was
// relying on it, including implementers of `MethodChannelFileSelector`
// (since toJSON is used in the method channel parameter serialization).
'macUTIs': uniformTypeIdentifiers,
};
}