toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      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 (project != null) 'project': project!,
      if (sqlserverUserDetails != null)
        'sqlserverUserDetails': sqlserverUserDetails!.toJson(),
      if (type != null) 'type': type!,
    };