ConsoleVariables.fromMap constructor

ConsoleVariables.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ConsoleVariables.fromMap(Map<String, dynamic> map) {
  return ConsoleVariables(
    appDomainTarget: map['_APP_DOMAIN_TARGET'].toString(),
    appStorageLimit: map['_APP_STORAGE_LIMIT'],
    appFunctionsSizeLimit: map['_APP_FUNCTIONS_SIZE_LIMIT'],
    appUsageStats: map['_APP_USAGE_STATS'].toString(),
    appVcsEnabled: map['_APP_VCS_ENABLED'],
    appDomainEnabled: map['_APP_DOMAIN_ENABLED'],
    appAssistantEnabled: map['_APP_ASSISTANT_ENABLED'],
  );
}