toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (charset != null) 'charset': charset!,
      if (collation != null) 'collation': collation!,
      if (etag != null) 'etag': etag!,
      if (instance != null) 'instance': instance!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (project != null) 'project': project!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (sqlserverDatabaseDetails != null)
        'sqlserverDatabaseDetails': sqlserverDatabaseDetails!.toJson(),
    };