asString static method

String? asString(
  1. HazmatType? hazmatType
)

Get the String representation of a HazmatType.

Implementation

static String? asString(HazmatType? hazmatType) => hazmatType?.toString();