toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final queueUrl = this.queueUrl;
  final payload = this.payload;
  final useBase64 = this.useBase64;
  return {
    'queueUrl': queueUrl,
    if (payload != null) 'payload': payload,
    if (useBase64 != null) 'useBase64': useBase64,
  };
}