toJson method

Map<String, dynamic> toJson()

Implementation

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