toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.bindings != null) {
    json[r'bindings'] = this.bindings;
  } else {
    json[r'bindings'] = null;
  }
  if (this.compatibilityDate != null) {
    json[r'compatibilityDate'] = this.compatibilityDate;
  } else {
    json[r'compatibilityDate'] = null;
  }
    json[r'compatibilityFlags'] = this.compatibilityFlags;
  if (this.mainModule != null) {
    json[r'mainModule'] = this.mainModule;
  } else {
    json[r'mainModule'] = null;
  }
  if (this.script != null) {
    json[r'script'] = this.script;
  } else {
    json[r'script'] = null;
  }
  return json;
}