MembershipsResult.fromJson constructor

MembershipsResult.fromJson(
  1. dynamic object
)

Implementation

factory MembershipsResult.fromJson(dynamic object) => MembershipsResult._(
    (object['data'] as List)
        .map((e) => MembershipMetadata.fromJson(e))
        .toList(),
    object['totalCount'] as int?,
    object['next'] as String?,
    object['prev'] as String?);