toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final value = this.value;
  return {
    if (value != null) 'Value': value,
  };
}