ScopesResponseBody.fromMap constructor

ScopesResponseBody.fromMap(
  1. Map<String, Object?> obj
)

Implementation

ScopesResponseBody.fromMap(Map<String, Object?> obj)
    : scopes = (obj['scopes'] as List)
          .map((item) => Scope.fromJson(item as Map<String, Object?>))
          .toList();