toJson method

Map<String, dynamic> toJson()

Implementation

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