Skip to content

feat: would like table.add to toString by default #2

Description

@eseidel

Similar to how print() works, etc. Just calls toString on the object.
https://github.com/dart-lang/sdk/blob/main/sdk/lib/core/print.dart#L19

I think this should be doable by making Table.add take Object? rather than dynamic?

Right now if you pass an object instead of a string, it just leaves the cell blank it seems, which seems like the wrong default?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions