schema property

Map<String, Object> schema
final

Implementation

static final schema = {
  r'$schema': 'http://json-schema.org/draft-07/schema#',
  r'$id': id,
  r'$comment':
      'https://api.flutter.dev/flutter/material/MaterialType-class.html',
  'title': 'MaterialType',
  'type': 'string',
  'oneOf': SchemaHelper.enumSchema([
    'button',
    'canvas',
    'card',
    'circle',
    'transparency',
  ]),
};