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