ExternalRecord({String? decodedType, Uint8List? payload, Uint8List? id}) : super(id: id, payload: payload) { if (decodedType != null) { this.decodedType = decodedType; } }