Serializes this as a JSON object.
this
@override Map<String, Object?> toJson() => { 'name': name, 'identityPoolProvider': _identityPoolProvider, };