toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final key = this.key;
  final propagateAtLaunch = this.propagateAtLaunch;
  final resourceId = this.resourceId;
  final resourceType = this.resourceType;
  final value = this.value;
  return {
    'Key': key,
    if (propagateAtLaunch != null) 'PropagateAtLaunch': propagateAtLaunch,
    if (resourceId != null) 'ResourceId': resourceId,
    if (resourceType != null) 'ResourceType': resourceType,
    if (value != null) 'Value': value,
  };
}