toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.app != null) {
    json[r'app'] = this.app;
  } else {
    json[r'app'] = null;
  }
  if (this.embedUrl != null) {
    json[r'embedUrl'] = this.embedUrl;
  } else {
    json[r'embedUrl'] = null;
  }
  if (this.entitled != null) {
    json[r'entitled'] = this.entitled;
  } else {
    json[r'entitled'] = null;
  }
  if (this.origin != null) {
    json[r'origin'] = this.origin;
  } else {
    json[r'origin'] = null;
  }
  if (this.phase != null) {
    json[r'phase'] = this.phase;
  } else {
    json[r'phase'] = null;
  }
  if (this.reachable != null) {
    json[r'reachable'] = this.reachable;
  } else {
    json[r'reachable'] = null;
  }
  return json;
}