region property

String? get region

Implementation

String? get region {
  final requestId = headers.get('x-vercel-id');
  if (requestId == null) {
    return 'dev1';
  }
  return requestId.split(':')[0];
}