toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (defaultValue != null) 'defaultValue': defaultValue!,
  if (item != null) 'item': item!,
  if (metadata != null) 'metadata': metadata!,
  if (type != null) 'type': type!,
  if (validValuesExpr != null) 'validValuesExpr': validValuesExpr!,
};