toJson method

Map<String, dynamic> toJson()

Implementation

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