public override string ToString() { try { var b = new DartStringBuilder(); b.AppendLine($"DartType = {Transformable?.GetType().ToString() ?? "NULL"};").AppendLine($"TargetType = {Target?.Name};"); b.Serialize(Transformable); return(b.ToString()); } catch (Exception exception) { return($"Exception Serialization Failed: {exception}"); } }
public void Serialize(DartStringBuilder sb) { sb.AppendHeader(nameof(FileOffset)).Append($"{fileOffset}"); }
public void Serialize(DartStringBuilder sb) { sb.Append($"({index}) => '{value}'"); }