DefaultShareScope.fromJson constructor

DefaultShareScope.fromJson(
  1. Map<String, Object?> json
)

Implementation

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