SchemaFieldSpec class

You can use schemas to add custom fields to user profiles.

You can use these fields to store information such as the projects your users work on, their physical locations, their hire dates, or whatever else fits your business needs. For more information, see [Custom User Fields](/admin-sdk/directory/v1/guides/manage-schemas).

Constructors

SchemaFieldSpec({String? displayName, String? etag, String? fieldId, String? fieldName, String? fieldType, bool? indexed, String? kind, bool? multiValued, SchemaFieldSpecNumericIndexingSpec? numericIndexingSpec, String? readAccessType})
SchemaFieldSpec.fromJson(Map json_)

Properties

displayName String?
Display Name of the field.
getter/setter pair
etag String?
The ETag of the field.
getter/setter pair
fieldId String?
The unique identifier of the field (Read-only)
getter/setter pair
fieldName String?
The name of the field.
getter/setter pair
fieldType String?
The type of the field.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
indexed bool?
Boolean specifying whether the field is indexed or not.
getter/setter pair
kind String?
The kind of resource this is.
getter/setter pair
multiValued bool?
A boolean specifying whether this is a multi-valued field or not.
getter/setter pair
numericIndexingSpec SchemaFieldSpecNumericIndexingSpec?
Indexing spec for a numeric field.
getter/setter pair
readAccessType String?
Specifies who can view values of this field.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited