toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final certificateArn = this.certificateArn;
  final dashSignaledSystemIds = this.dashSignaledSystemIds;
  final hlsSignaledSystemIds = this.hlsSignaledSystemIds;
  final resourceId = this.resourceId;
  final url = this.url;
  return {
    if (certificateArn != null) 'certificateArn': certificateArn,
    if (dashSignaledSystemIds != null)
      'dashSignaledSystemIds': dashSignaledSystemIds,
    if (hlsSignaledSystemIds != null)
      'hlsSignaledSystemIds': hlsSignaledSystemIds,
    if (resourceId != null) 'resourceId': resourceId,
    if (url != null) 'url': url,
  };
}