map method
Maps a source object to the target type
source - The source object to map
Implementation
@override
PFormData map(FormData source) {
return PFormData(
fields: source.fields,
files: source.files.map(
(key, file) {
return MapEntry(
key,
mapper.map(file),
);
},
),
);
}