Schema.string constructor

Schema.string({
  1. String? description,
  2. bool? nullable,
})

Construct a schema for a String value.

Implementation

Schema.string({
  String? description,
  bool? nullable,
}) : this(
        SchemaType.string,
        description: description,
        nullable: nullable,
      );