core.Map<core.String, core.dynamic> toJson() { final shape = this.shape; final size = this.size; return {'shape': ?shape, 'size': ?size}; }