SecuritySchemeMembersRequest.fromJson constructor

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

Implementation

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