deserialize method Null safety

ByTooltipMessage deserialize(
  1. Map<String, String> json
)

Deserializes the finder from JSON generated by serialize.

Implementation

static ByTooltipMessage deserialize(Map<String, String> json) {
  return ByTooltipMessage(json['text']!);
}