of
open fun <T> of(baseType: Class<T>, labelKey: String): PolymorphicJsonAdapterFactory<T>
Content copied to clipboard
Parameters
base Type
The base type for which this factory will create adapters. Cannot be Object.
label Key
The key in the JSON object whose value determines the type to which to map the JSON object.