toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.canSet != null) {
    json[r'canSet'] = this.canSet;
  } else {
    json[r'canSet'] = null;
  }
  if (this.handle != null) {
    json[r'handle'] = this.handle;
  } else {
    json[r'handle'] = null;
  }
  if (this.listed != null) {
    json[r'listed'] = this.listed;
  } else {
    json[r'listed'] = null;
  }
  return json;
}