type property

String get type

Implementation

String get type {
  final value = _schemaView['type'];
  if (value is String) return value;
  if (value is List && value.isNotEmpty && value.first is String) {
    return value.first as String;
  }
  return '';
}