ConstSchema constructor

ConstSchema({
  1. String? title,
  2. String? description,
  3. required Object? constValue,
})

Implementation

factory ConstSchema({
  String? title,
  String? description,
  required Object? constValue,
}) => ConstSchema.fromMap({
  Keys.const_: constValue,
  if (title != null) Keys.title: title,
  if (description != null) Keys.description: description,
});