toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dualPasswordType != null) 'dualPasswordType': dualPasswordType!,
      if (etag != null) 'etag': etag!,
      if (host != null) 'host': host!,
      if (instance != null) 'instance': instance!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (password != null) 'password': password!,
      if (passwordPolicy != null) 'passwordPolicy': passwordPolicy!,
      if (project != null) 'project': project!,
      if (sqlserverUserDetails != null)
        'sqlserverUserDetails': sqlserverUserDetails!,
      if (type != null) 'type': type!,
    };