toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.hasValue != null) {
    json[r'HasValue'] = this.hasValue;
  } else {
    json[r'HasValue'] = null;
  }
  if (this.value != null) {
    json[r'Value'] = this.value;
  } else {
    json[r'Value'] = null;
  }
  return json;
}