Map<String, dynamic> toMap() => { "type": type, "default": authorityDefault, "authority_url": authorityUrl.toString(), };