Map<String, dynamic> toJson() { var result = _$OutputToJson(this); result['type'] = runtimeType.toString(); return result; }