toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acl != null) 'acl': acl!,
      if (content != null) 'content': content!,
      if (itemType != null) 'itemType': itemType!,
      if (metadata != null) 'metadata': metadata!,
      if (name != null) 'name': name!,
      if (payload != null) 'payload': payload!,
      if (queue != null) 'queue': queue!,
      if (status != null) 'status': status!,
      if (structuredData != null) 'structuredData': structuredData!,
      if (version != null) 'version': version!,
    };