toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final attributeResources = this.attributeResources;
  final category = this.category;
  final dataType = this.dataType;
  final enumValues = this.enumValues;
  final filterable = this.filterable;
  final isRepeated = this.isRepeated;
  final metrics = this.metrics;
  final name = this.name;
  final resourceName = this.resourceName;
  final segments = this.segments;
  final selectable = this.selectable;
  final selectableWith = this.selectableWith;
  final sortable = this.sortable;
  final typeUrl = this.typeUrl;
  return {
    'attributeResources': ?attributeResources,
    'category': ?category,
    'dataType': ?dataType,
    'enumValues': ?enumValues,
    'filterable': ?filterable,
    'isRepeated': ?isRepeated,
    'metrics': ?metrics,
    'name': ?name,
    'resourceName': ?resourceName,
    'segments': ?segments,
    'selectable': ?selectable,
    'selectableWith': ?selectableWith,
    'sortable': ?sortable,
    'typeUrl': ?typeUrl,
  };
}