CheckAccessOrInviteByEmailRequest.fromJson constructor

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

Implementation

factory CheckAccessOrInviteByEmailRequest.fromJson(
    Map<String, Object?> json) {
  return CheckAccessOrInviteByEmailRequest(
    emails: (json[r'emails'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
  );
}