factory DefaultShareScope.fromJson(Map<String, Object?> json) { return DefaultShareScope( scope: DefaultShareScopeScope.fromValue(json[r'scope'] as String? ?? ''), ); }