schema property
Implementation
static final schema = {
r'$schema': 'http://json-schema.org/draft-06/schema#',
r'$id': '$id',
r'$comment':
'https://api.flutter.dev/flutter/painting/ShapeBorder-class.html',
'title': 'ShapeBorder',
'type': 'object',
'properties': {
'borderRadius': SchemaHelper.objectSchema(BorderRadiusSchema.id),
'borderSide': SchemaHelper.objectSchema(BorderSideSchema.id),
'type': {
'type': 'string',
'enum': [
'circle',
'rectangle',
'rounded',
'stadium',
],
},
},
};