toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.url != null) {
json[r'url'] = this.url;
} else {
json[r'url'] = null;
}
if (this.fields != null) {
json[r'fields'] = this.fields;
} else {
json[r'fields'] = null;
}
if (this.s3Key != null) {
json[r's3_key'] = this.s3Key;
} else {
json[r's3_key'] = null;
}
if (this.expiresIn != null) {
json[r'expires_in'] = this.expiresIn;
} else {
json[r'expires_in'] = null;
}
return json;
}