• Convert to duration from JSON format used when serializing using a smart contract schema type.

    Returns

    The duration.

    Parameters

    • duration: string

      The duration in schema JSON format.

    Returns Duration

Generated using TypeDoc