toJson method
Returns a JSON presentation of the object.
Implementation
@override
Map<String, Object> toJson() {
var result = <String, Object>{};
var file = this.file;
if (file != null) {
result['file'] = file;
}
var pattern = this.pattern;
if (pattern != null) {
result['pattern'] = pattern;
}
var maxResults = this.maxResults;
if (maxResults != null) {
result['maxResults'] = maxResults;
}
return result;
}