toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'name'] = this.name;
  if (this.description != null) {
    json[r'description'] = this.description;
  } else {
    json[r'description'] = null;
  }
    json[r'data'] = this.data;
  if (this.rowCount != null) {
    json[r'rowCount'] = this.rowCount;
  } else {
    json[r'rowCount'] = null;
  }
  if (this.columnCount != null) {
    json[r'columnCount'] = this.columnCount;
  } else {
    json[r'columnCount'] = null;
  }
  if (this.accountId != null) {
    json[r'accountId'] = this.accountId;
  } else {
    json[r'accountId'] = null;
  }
  if (this.provider != null) {
    json[r'provider'] = this.provider;
  } else {
    json[r'provider'] = null;
  }
  return json;
}