toMap method
Returns the map representation of a Batchable instance.
Implementation
@override
Map<String, dynamic> toMap() {
return <String, dynamic>{
'requestName': requestName,
'fields': fields,
'form': form,
'parameters': parameters,
'prettyPrint': prettyPrint,
'quotaId': quotaId,
'channel': channel?.toMap(),
};
}