SchemaAttributeType class

Contains information about the schema attribute.

Constructors

SchemaAttributeType({AttributeDataType? attributeDataType, bool? developerOnlyAttribute, bool? mutable, String? name, NumberAttributeConstraintsType? numberAttributeConstraints, bool? required, StringAttributeConstraintsType? stringAttributeConstraints})
SchemaAttributeType.fromJson(Map<String, dynamic> json)
factory

Properties

attributeDataType AttributeDataType?
The attribute data type.
final
developerOnlyAttribute bool?
DeveloperOnlyAttribute
final
hashCode int
The hash code for this object.
no setterinherited
mutable bool?
Specifies whether the value of the attribute can be changed.
final
name String?
A schema attribute of the name type.
final
numberAttributeConstraints NumberAttributeConstraintsType?
Specifies the constraints for an attribute of the number type.
final
required bool?
Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringAttributeConstraints StringAttributeConstraintsType?
Specifies the constraints for an attribute of the string type.
final

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