toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final attributeKey = this.attributeKey;
  final range = this.range;
  return {
    if (attributeKey != null) 'AttributeKey': attributeKey,
    if (range != null) 'Range': range,
  };
}