BuildSchemaToEnumDict static method

Map<String, Object> BuildSchemaToEnumDict(
  1. Type enumType
)
Builds the schema to enum mapping dictionary.BuildSchemaToEnumDict Type of the enum.

Implementation

static Map<String, Object> BuildSchemaToEnumDict(Type enumType) {
  return ewsEnumDictionaries[enumType]!.map((k, v) => MapEntry(v, k));
}