toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (hiveDatabaseName != null) 'hiveDatabaseName': hiveDatabaseName!,
      if (instanceConnectionName != null)
        'instanceConnectionName': instanceConnectionName!,
      if (ipAddress != null) 'ipAddress': ipAddress!,
      if (natSubnet != null) 'natSubnet': natSubnet!,
      if (password != null) 'password': password!,
      if (port != null) 'port': port!,
      if (proxySubnet != null) 'proxySubnet': proxySubnet!,
      if (username != null) 'username': username!,
    };