ScopeExtension.fromJson constructor

ScopeExtension.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ScopeExtension.fromJson(Map<String, dynamic> json) {
  return ScopeExtension(
    origin: json['origin'] as String,
    hasOriginWildcard: json['hasOriginWildcard'] as bool? ?? false,
  );
}