Value constructor

Value(
  1. Map map
)

Implementation

Value(Map map)
    : text = map["text"],
      type = map["\$type"],
      embed = map["embed"] == null ? null : RecordEmbed(map["embed"]),
      langs = map["langs"],
      createdAt = DateTime.parse((map["createdAt"]));