toJson method

dynamic toJson()

Converts BrickLocation to Map

Implementation

dynamic toJson() {
  if (version != null) return version;
  return _$BrickLocationToJson(this);
}