toJson method

Map toJson()

Returns a JSON representation.

Implementation

Map toJson() => {
      "authority_url": authorityURL,
      "type": authorityType,
      "default": isDefault
    };