fromString method Null safety

ReactionType? fromString(
  1. String? content
)

Implementation

static ReactionType? fromString(String? content) => _types[content!];