ListMyMembershipsResponse constructor

ListMyMembershipsResponse({
  1. ListDetails? details,
  2. Iterable<Membership>? result,
})

Implementation

factory ListMyMembershipsResponse({
  $8.ListDetails? details,
  $core.Iterable<$11.Membership>? result,
}) {
  final $result = create();
  if (details != null) {
    $result.details = details;
  }
  if (result != null) {
    $result.result.addAll(result);
  }
  return $result;
}