deserialize method Null safety

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

Deserializes the finder from JSON generated by serialize.

Implementation

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