stringFromModel function

String stringFromModel(
  1. Model model
)

Creates a String from a Model. If unsucessful, will return an empty String.

Implementation

String stringFromModel(Model model) => model.data["data"]?.toString() ?? "";