toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'attributeName': attributeName,
      if (format != null) 'format': format,
      'label': label,
      if (type != null) 'type': type,
      if (width != null) 'width': width,
    };