OpenLocationCode.fromTrustedString

Creates Open Location Code object for the provided code performing no validation. This should call isValidCode before and abort if not valid.

struct OpenLocationCode
pure static
fromTrustedString
nothrow @nogc
(
string code
)

Parameters

code
Type: string

A valid OLC code. Can be a full code or a shortened code.

Meta