schema property

Map<String, Object> schema
final

Implementation

static final schema = {
  r'$schema': 'http://json-schema.org/draft-06/schema#',
  r'$id': '$id',
  r'$comment':
      'https://api.flutter.dev/flutter/dart-ui/FontWeight-class.html',
  'type': 'string',
  'title': 'FontWeight',
  'oneOf': SchemaHelper.enumSchema([
    'bold',
    'normal',
    'w100',
    'w200',
    'w300',
    'w400',
    'w500',
    'w600',
    'w700',
    'w800',
    'w900',
  ]),
};