toJson method

Map<String, dynamic> toJson()

Implementation

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