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/widgets/IconData-class.html',
  'title': 'IconData',
  'type': 'object',
  'required': [
    'codePoint',
    'fontFamily',
  ],
  'properties': {
    'codePoint': SchemaHelper.numberSchema,
    'fontFamily': SchemaHelper.stringSchema,
    'fontPackage': SchemaHelper.stringSchema,
    'matchTextDirection': SchemaHelper.boolSchema,
  },
};