toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (environmentGroup != null) 'environmentGroup': environmentGroup!,
      if (fromDeployment != null) 'fromDeployment': fromDeployment!,
      if (shouldSequenceRollout != null)
        'shouldSequenceRollout': shouldSequenceRollout!,
      if (toDeployment != null) 'toDeployment': toDeployment!,
    };