linkTokenCreateRequestAuthFlowTypeFromJson function
LinkTokenCreateRequestAuthFlowType
linkTokenCreateRequestAuthFlowTypeFromJson(
- String? linkTokenCreateRequestAuthFlowType
Implementation
enums.LinkTokenCreateRequestAuthFlowType
linkTokenCreateRequestAuthFlowTypeFromJson(
String? linkTokenCreateRequestAuthFlowType) {
if (linkTokenCreateRequestAuthFlowType == null) {
return enums.LinkTokenCreateRequestAuthFlowType.swaggerGeneratedUnknown;
}
return enums.$LinkTokenCreateRequestAuthFlowTypeMap.entries
.firstWhere(
(element) =>
element.value.toLowerCase() ==
linkTokenCreateRequestAuthFlowType.toLowerCase(),
orElse: () => const MapEntry(
enums.LinkTokenCreateRequestAuthFlowType.swaggerGeneratedUnknown,
''))
.key;
}