scopesContextListToJson function

List<String> scopesContextListToJson(
  1. List<ScopesContext>? scopesContext
)

Implementation

List<String> scopesContextListToJson(List<enums.ScopesContext>? scopesContext) {
  if (scopesContext == null) {
    return [];
  }

  return scopesContext.map((e) => enums.$ScopesContextMap[e]!).toList();
}